package celda;

import celda.Status;

public class Celda {
	private int numDia;
	private int numDiaGrid;
	private int horaInici;	
	private Status status;
	private String activitat;
	
	
	
	//Constructors
	
	//Constructor per defecte
	public Celda(){
		this.numDia = 0;
		this.numDiaGrid = 0;
		this.horaInici = 0;		
		this.status=Status.FREE;
		this.activitat="NOT ASSIGNED";
			
	}



	//Setters y Getters
	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public String getActivitat() {
		return activitat;
	}

	public void setActivitat(String activitat) {
		this.activitat = activitat;
	}

	public int getNumDia() {
		return numDia;
	}

	public void setNumDia (int numDia) {
		this.numDia = numDia;
	}

	public int getNumDiaGrid() {
		return numDiaGrid;
	}

	public void setNumDiaGrid(int numDiaGrid) {
		this.numDiaGrid = numDiaGrid;
	}

	public int getHoraInici() {
		return horaInici;
	}

	public void setHoraInici(int horaInici) {
		this.horaInici = horaInici;
	}


	@Override
	public String toString() {
		return "Celda [numDia=" + numDia + ", horaInici=" + horaInici
				+ ", status=" + status + ", activitat=" + activitat + "]";
	}

	

}	